<!--{eval $_G['home_tpl_titles'] = array('{lang message}');}-->


<!--{template common/header}-->
<div id="pt" class="bm cl">
	<div class="z">
		<a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>&rsaquo;</em>
		<a href="home.php?mod=space&uid=$space[uid]">{$space[username]}</a> <em>&rsaquo;</em>
		<a href="home.php?mod=space&uid=$space[uid]&do=wall&from=space">{lang message}</a>
	</div>
</div>
<style id="diy_style" type="text/css"></style>
<div class="wp">
	<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div id="ct" class="ct_sp wp cl">
	<!--{template home/space_menu}-->
	<div class="bm">
		<div class="bm_c cl">

			<div class="mn">
				<!--[diy=diycontenttop]--><div id="diycontenttop" class="area"></div><!--[/diy]-->
				<div class="bml">
					<div class="bm_c">

						<div id="div_main_content" class="mbm">
							<div id="comment">
								<!--{if $cid}-->
								<div class="i">
									{lang view_one_operation_message},<a href="home.php?mod=space&uid=$space[uid]&do=wall">{lang click_view_message}</a>
								</div>
								<!--{/if}-->
								<div id="comment_ul" class="xld xlda xltda">
								<!--{loop $list $value}-->
									<!--{template home/space_comment_li}-->
								<!--{/loop}-->
								</div>
							</div>
							<div class="pgs cl mtm">$multi</div>
						</div>
						<script type="text/javascript">
							var elems = selector('dd[class~=magicflicker]');
							for(var i=0; i<elems.length; i++){
								magicColor(elems[i]);
							}
							function succeedhandle_qcwall_{$space[uid]}(url, msg, values) {
								wall_add(values['cid']);
							}
						</script>

						<!--{if helper_access::check_module('wall')}-->
							<form id="quickcommentform_{$space[uid]}" action="home.php?mod=spacecp&ac=comment" method="post" autocomplete="off" onsubmit="ajaxpost('quickcommentform_{$space[uid]}', 'return_qcwall_$space[uid]');doane(event);" class="xld xlda xltda">
								<dl>
									<dd>
										<span id="comment_face" title="{lang insert_emoticons}" onclick="showFace(this.id, 'comment_message');return false;" class="cur1"><img src="{IMGDIR}/facelist.gif" alt="facelist" class="vm" /></span>
										<!--{hook/space_wall_face_extra}-->
										<!--{if $_G['setting']['magicstatus'] && $_G['setting']['magics']['doodle']}-->
										<a id="a_magic_doodle" href="home.php?mod=magic&mid=doodle&showid=comment_doodle&target=comment_message" onclick="showWindow(this.id, this.href, 'get', '0')"><img src="{STATICURL}image/magic/doodle.small.gif" alt="doodle" class="vm" />{$_G[setting][magics][doodle]}</a>
										<!--{/if}-->
									</dd>
									<dd class="tedt">
										<div class="area">
											<!--{if $_G['uid']}-->
												<textarea id="comment_message" onkeydown="ctrlEnter(event, 'commentsubmit_btn');" name="message" rows="3" class="pt"></textarea>
											<!--{elseif $_G['connectguest']}-->
												<div class="pt hm">{lang connect_fill_profile_to_comment}</div>
											<!--{else}-->
												<div class="pt hm">{lang login_to_wall} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G[setting][regname]}" class="xi2">$_G['setting']['reglinkname']</a></div>
											<!--{/if}-->
										</div>
									</dd>
									<dd>
										<input type="hidden" name="referer" value="home.php?mod=space&uid=$wall[uid]&do=wall" />
										<input type="hidden" name="id" value="$space[uid]" />
										<input type="hidden" name="idtype" value="uid" />
										<input type="hidden" name="handlekey" value="qcwall_{$space[uid]}" />
										<input type="hidden" name="commentsubmit" value="true" />
										<input type="hidden" name="quickcomment" value="true" />
										<button type="submit" name="commentsubmit_btn"value="true" id="commentsubmit_btn" class="pn pnc"><strong>{lang leave_comments}</strong></button>
										<span id="return_qcwall_{$space[uid]}"></span>
									</dd>
								</dl>
								<input type="hidden" name="formhash" value="{FORMHASH}" />
							</form>
						<!--{/if}-->

						<!--{if !$_G[setting][homepagestyle]}--><!--[diy=diycontentbottom]--><div id="diycontentbottom" class="area"></div><!--[/diy]--><!--{/if}-->
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<!--{if !$_G[setting][homepagestyle]}-->
	<div class="wp mtn">
		<!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
	</div>
<!--{/if}-->

<!--{template common/footer}-->